<template>
	<view class="warp">
		<view class="btn">

			<view class="rental" @click="gotoWatch()">
				腕表发布
			</view>
			<view class="rental" @click="gotoBags()">
				箱包发布
			</view>
		</view>
		<!-- <view class="rental" @click="goAddserver()">
			服务新增
		</view> -->
	</view>
</template>

<script>
export default {
	data() {
		return {
			businessinfo:[],
			openid: '',
		};
	},
	onLoad() {
		setTimeout(() => {
        // this.$u.business.check();
    },1500);

	},

	methods: {
	
		gotoWatch() {

			uni.$u.route({
				url: 'pages/release/watch'
			})


		},
		gotoBags() {

			uni.navigateTo({
				url: '/pages/release/bags'
			})

	
	}

	}
}
</script>

<style lang="scss">
page {
	background-color: #fff;
}

.wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.btn {
	margin-top: 160px;
}

.rental {
	background: linear-gradient(to bottom, #123663 0%, #0d2c4e 100%);
	color: #fff;
	border: 2px solid #123663;
	padding: 12px 24px;
	text-align: center;
	text-decoration: none;
	font-size: 18px;
	width: 80%;
	margin: 25px auto;
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 10px;
	transition: background-color 0.3s;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
</style>
